package com.tfb.dao;

import com.tfb.rong.HealthAlert;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HealthAlertMapper {

    List<HealthAlert> selectAllAlertByStatus(Integer status);

    int deleteByPrimaryKey(String id);

    int insert(HealthAlert record);

    int insertSelective(HealthAlert record);

    HealthAlert selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HealthAlert record);

    int updateByPrimaryKey(HealthAlert record);

    int checkExist(@Param("code") String code, @Param("time") String time, @Param("type") String type);
}
